package com.woniu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.dto.LeagueWorkforceDto;
import com.woniu.model.dto.UserLeagueClassMarginDto;
import com.woniu.model.form.AddLeagueClassMarginForm;
import com.woniu.model.model.YUserLeagueClassMargin;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
public interface YUserLeagueClassMarginService extends IService<YUserLeagueClassMargin> {

    Integer addLeagueClassMargin(AddLeagueClassMarginForm form);

    YUserLeagueClassMargin loadLeagueClassMarginByOrderNum(String orderNum);

    List<Integer> loadLeagueStudentIds(Integer coachId);

    List<UserLeagueClassMarginDto> loadLeagueClassByUserToken(Integer userId, String leagueClassName);
}
